package uitl;

public class Reslut {

    //返回错误信息
    private String message;

    public Reslut(String message) {
        this.message = message;
    }

    //返回操作
    public static Reslut success(){
        return new Reslut("操作成功");
    }
    public static Reslut fail(){
        return new Reslut("操作失败");
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
